#
# Copyright (C) [2024] Xingyun Integrated Circuit, Inc.
#
# GreenCode was a private technology asset of Xingyun Integrated Circuit， Inc （Confidential）
# Author: Shawn.Tan
# Date: 2025.10.28
#
# History: Initial Version 2025.10.28
#
#
from DV.gpgpu.trees.instruction_tree import ALU_Int32_instructions
from base.Sequence import Sequence
from gpgpu.EnvGPGPU import EnvGPGPU
from gpgpu.GenThreadGPGPU import GenThreadGPGPU


class MyMainSequence(Sequence):
    def generate(self, **kargs):
        # Use the Sequence.choicePermutated to randomly pick an item from a
        # list, tuple or dictionary.
        for k, v in self.choicePermutated(ALU_Int32_instructions):
            self.notice(">>>>>  Instr: {:15}  Weight: {:4}".format(k, v))


MainSequenceClass = MyMainSequence
GenThreadClass = GenThreadGPGPU
EnvClass = EnvGPGPU
